<template>
  <header>
    <div id="box1">
      <a href="">模式切换</a>
    </div>
    <a href=""
      ><van-badge :content="200" max="99"><span class="iconfont public-lingdang" style="font-size: 0.22rem"></span
    ></van-badge></a>
    <a href=""
      ><span class="iconfont my-saoyisao" style="font-size: 0.22rem"></span
    ></a>
  </header>
</template>

<script>
export default {
  name: 'Header',
}

</script>

<style scoped>
a{color: black;}
@import url("../../../assets/iconfont/iconfont.css");
header{
    width: 100%;
    height: .37rem;
    display: flex;
    background-image: linear-gradient( to right, #93bcea, #afa6ef, #e1e9fe, #c4e8fa );
}
header #box1{
    width: .7rem;height: .2rem;
    background-color: #fff;
    border-radius: .13rem;
    font-size: .1rem;
    text-align: center;
    line-height: 0.2rem;
    margin-left: .2rem;
    margin-top: .09rem;
}
header a:nth-child(2){
    position: absolute;
    right: .9rem;
    top: .07rem;
}
header a:nth-child(3){
    position: absolute;
    right: .3rem;
    top: .07rem;
}
.public-lingdang{color: black;}
.my-saoyisao{color: black;}
</style>